jp.co.ricoh.dsdk.scard.framework.service
Class RegisterBundle
java.lang.Object
jp.co.ricoh.dsdk.scard.framework.service.RegisterBundle
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- public abstract class RegisterBundle
- extends java.lang.Object
- implements org.osgi.framework.BundleActivator
This class handles registration and deletion of card services.
|
Field Summary |
protected org.osgi.framework.BundleContext |
context
Context of this bundle. |
|
Method Summary |
protected abstract java.lang.Class[] |
getCardServices()
Returns all the card services registered by the bundle. |
void |
start(org.osgi.framework.BundleContext arg0)
|
void |
stop(org.osgi.framework.BundleContext arg0)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected org.osgi.framework.BundleContext context
-
Context of this bundle.
RegisterBundle
public RegisterBundle()
start
public void start(org.osgi.framework.BundleContext arg0)
throws java.lang.Exception
- Specified by:
start in interface org.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
stop
public void stop(org.osgi.framework.BundleContext arg0)
throws java.lang.Exception
- Specified by:
stop in interface org.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
getCardServices
protected abstract java.lang.Class[] getCardServices()
throws java.lang.Exception
-
Returns all the card services registered by the bundle.
- Returns:
-
an array of CardService classes.
- Throws:
java.lang.Exception -
when an error has occurred.